// src/api/categories.js
import http from '@/utils/http';

/**
 * 获取所有帖子分类列表
 */
export function getCategoriesList() {
  return http.get('/categories/list');
}